package com.red.star.wechat.data.entity.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ProjectName: macalline-work-server
 * @Package: com.red.star.macalline.data.entity.vo
 * @Description:
 * @Author: AMGuo
 * @CreateDate: 2018/9/26 上午10:46
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "ImageActivityVO", description = "裂变图片活动")
public class ImageActivityVO {

    @ApiModelProperty(value = "id", example = "0")
    private Integer id;

    @ApiModelProperty(value = "活动名称")
    private String name;

    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy.MM.dd")
    @JSONField(format = "yyyy.MM.dd")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy.MM.dd")
    @JSONField(format = "yyyy.MM.dd")
    private Date endTime;

    /**
     * 状态：0关闭  1开启  2过期  3未开始
     */
    @ApiModelProperty(value = "状态  0关闭  1开启  2过期  3未开始", example = "0")
    private Integer status;

    @ApiModelProperty(value = "活动图片链接")
    private String image;

    /**
     * 可参与商场
     */
    @ApiModelProperty(value = "可参与商场")
    private String accessMallName;

    private String types;

    private String typeValues;
}
